package com.lwq.springbootdruid.service.impl;

import com.lwq.springbootdruid.dao.MyUserDao;
import com.lwq.springbootdruid.entity.MyUser;
import com.lwq.springbootdruid.service.MyUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author liwq
 * @description
 * @date 2021/7/13 14:48
 */
@Service
public class MyUserServiceImpl implements MyUserService {

    @Autowired
    private MyUserDao myUserDao;

    @Override
    public List<MyUser> getAllUsers() {
        return myUserDao.getAllUsers();
    }

}
